#pragma once
#include <QWidget>
#include "../../src_dataProcessor/TabPage.h"
//#include "../../src_config/configUI.h"
#include "DataParser_grid.h"



class TabPage_grid : public TabPage
{
    Q_OBJECT
public:
    TabPage_grid(QString qFullName, QString qFilePath, QString qFileName, QWidget* parent)
        : TabPage(qFullName, qFilePath, qFileName, parent) {
		m_data = new Data_grid();
		m_parser = new DataParser_grid(m_data);
    }

    ~TabPage_grid() {
        delete m_parser;
		delete m_data;
	}

private:
    Data_grid* m_data;;	//数据对象
    DataParser_grid* m_parser;	//数据解析器

private:
    
    //ConfigUI* m_config;	//配置信息
    void fillData();
    void refreshUI();
};